package com.wechat.order.config.ConstantConfig;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by zzy on 2017/12/17.
 */
@Data
@Component
@ConfigurationProperties(prefix = "weChat")
public class WeChatAccountConfig {

    private String mpAppId;

    private String mpAppSecret;

    private String openAppId;

    private String openAppSecret;

    @ApiModelProperty("商户号")
    private String mchId;

    @ApiModelProperty("商户密匙")
    private String mchKey;

    @ApiModelProperty("商户证书路径")
    private String keyPath;

    private String notifyUrl;

    /**
     * 消息推送模板
     */
    private Map<String,String> templateId;
    /**
     * 伪微信登陆确认页面
     */
    private String loginConfirm;
}
